package cn.com.huzo.model.entities.purchase;

import com.fasterxml.jackson.annotation.JsonFormat;
import huzofw.model.entities.IAggregateRoot;
import java.io.Serializable;
import java.sql.Timestamp;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 采购查料实体类
 *
 * @author 吴旭
 */
public class ReportMaterialQueryInPoEntity implements Serializable, IAggregateRoot {

    private static final long serialVersionUID = 3311066383437297569L;
    private String PoNo;                  // 订单合同号   
    private String MaterialName;
    private String MaterialCode;
    private String SupplierName;          // 供应商   
    private String MaterialColourNumber;
    private String MaterialColourName;
    private Timestamp SignedDate;         // 落单日期
    private String UomName;               // 单位
    private Double PoQuantity;            // 实际采购数
    private Double PoUnitPrice;           // 采购单价

    public String getPoNo() {
        return PoNo;
    }

    public void setPoNo(String PoNo) {
        this.PoNo = PoNo;
    }

    public String getMaterialName() {
        return MaterialName;
    }

    public void setMaterialName(String MaterialName) {
        this.MaterialName = MaterialName;
    }

    public String getMaterialCode() {
        return MaterialCode;
    }

    public void setMaterialCode(String MaterialCode) {
        this.MaterialCode = MaterialCode;
    }

    public String getSupplierName() {
        return SupplierName;
    }

    public void setSupplierName(String SupplierName) {
        this.SupplierName = SupplierName;
    }

    public String getMaterialColourNumber() {
        return MaterialColourNumber;
    }

    public void setMaterialColourNumber(String MaterialColourNumber) {
        this.MaterialColourNumber = MaterialColourNumber;
    }

    public String getMaterialColourName() {
        return MaterialColourName;
    }

    public void setMaterialColourName(String MaterialColourName) {
        this.MaterialColourName = MaterialColourName;
    }

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    public Timestamp getSignedDate() {
        return SignedDate;
    }

    public void setSignedDate(Timestamp SignedDate) {
        this.SignedDate = SignedDate;
    }

    public String getUomName() {
        return UomName;
    }

    public void setUomName(String UomName) {
        this.UomName = UomName;
    }

    public Double getPoQuantity() {
        return PoQuantity;
    }

    public void setPoQuantity(Double PoQuantity) {
        this.PoQuantity = PoQuantity;
    }

    public Double getPoUnitPrice() {
        return PoUnitPrice;
    }

    public void setPoUnitPrice(Double PoUnitPrice) {
        this.PoUnitPrice = PoUnitPrice;
    }
}
